package com.buddies.lottery.ui.lottery.select;

import com.buddies.lottery.R;
import com.buddies.lottery.data.bean.Lottery;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

public class LotterySelectAdapter extends BaseQuickAdapter<Lottery, BaseViewHolder> {

    public LotterySelectAdapter(List<Lottery> data) {
        super(R.layout.item_lottery_select, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, Lottery item) {
        helper.setText(R.id.text, item.name);
    }

}
